//
//  HomeSearchTextView.h
//  FD
//
//  Created by xiaofang wang on 2018/11/28.
//  Copyright © 2018年 ZhiYuan Network. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@protocol HomeSearchTextViewDelegate <NSObject>
//点击了输入框
- (void)homesearchTextFieldDidChange:(UITextField *)tf;

//开始输入
- (void)homesearchTextViewDidBeginEditing:(UITextField *)textField;

//结束输入
- (void)homesearchTextViewDidEndEditing:(UITextField *)textField;

@end

@interface HomeSearchTextView : UIView
/**代理属性*/
@property (nonatomic, weak) id <HomeSearchTextViewDelegate> delegate;


//回收键盘
- (void)homesearchViewResignFirstResponser;
//更新输入框文字。
- (void)homesearchViewUpdateTFStr:(NSString *)str placeholder:(NSString *)placeholder;

@end

NS_ASSUME_NONNULL_END
